/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.StWorkflow;
import com.thinkgem.jeesite.modules.ta.dao.StWorkflowDao;

/**
 * 事务申请Service
 * @author 刘雨轩
 * @version 2017-05-26
 */
@Service
@Transactional(readOnly = true)
public class StWorkflowService extends CrudService<StWorkflowDao, StWorkflow> {

	public StWorkflow get(String id) {
		return super.get(id);
	}
	
	public List<String> findName(){
		return super.findName();
	}
	
	public List<StWorkflow> findList(StWorkflow stWorkflow) {
		return super.findList(stWorkflow);
	}
	
	public Page<StWorkflow> findPage(Page<StWorkflow> page, StWorkflow stWorkflow) {
		return super.findPage(page, stWorkflow);
	}
	
	@Transactional(readOnly = false)
	public void save(StWorkflow stWorkflow) {
		super.save(stWorkflow);
	}
	
	@Transactional(readOnly = false)
	public void delete(StWorkflow stWorkflow) {
		super.delete(stWorkflow);
	}
	
}